package com.woniuxy.demo.epai.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;

import java.io.Serializable;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 收货信息表
 * </p>
 *
 * @author epai
 * @since 2021-04-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("e_product_to")
public class ProductTo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 用户ID
     */
    private Integer uid;

    /**
     * 拍品ID
     */
    private Integer pid;

    /**
     * 评论
     */
    private String comments;

    /**
     * 收货状态
     */
    private String status;

    /**
     * 收货地址
     */
    private String address;

    /**
     * 送货时间
     */
    @TableField("send_TIME")
    private Date sendTime;

    /**
     * 到货时间
     */
    @TableField("get_TIME")
    private Date getTime;

    /**
     * 记录添加时间
     */
    private Date rawAddTime;

    /**
     * 记录更新时间
     */
    private Date rawUpdateTime;


}
